home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 9 / 009.d81 / comal corner < prev    next >
Text File  |  2022-08-26  |  4KB  |  234 lines

  1.       COMAL Yet Another Language
  2.       ==========================
  3.  
  4.          by:  Joel Ellis Rea
  5.  
  6. --------------------------------------
  7.  
  8.   COMAL is a PASCAL-like or C-like
  9.  
  10. computer language which is available
  11.  
  12. for the Commodore 64.  It is the first
  13.  
  14. language in some time to have a real
  15.  
  16. chance of replacing BASIC as the
  17.  
  18. premiere language for introducing the
  19.  
  20. art of programming.
  21.  
  22.  
  23.    The word COMAL (say: "co-mall") is
  24.  
  25. an acronym for COMmon Algorithmic Lan-
  26.  
  27. guage.  It was invented over a decade
  28.  
  29. ago by Borge Christensen of Denmark.
  30.  
  31. Unlike BASIC, an international stan-
  32.  
  33. dard exists for the language.  This
  34.  
  35. standard is called the COMAL Kernal.
  36.  
  37. In order to be called COMAL, all im-
  38.  
  39. plementations of the language must be
  40.  
  41. compatible with the Kernal. (Not to be
  42.  
  43. confused with Commodore's Kernal, the
  44.  
  45. main operating system routines in the
  46.  
  47. ROMs of all Commodore computers.)  Of
  48.  
  49. course, each implementation may add
  50.  
  51. additional features to support fancy
  52.  
  53. hardware (such as the 64's VIC and SID
  54.  
  55. chips, etc.), and add more utility.
  56.  
  57. This means that any COMAL program
  58.  
  59. which uses only the Kernal features
  60.  
  61. can be used "as is" on ANY system that
  62.  
  63. runs COMAL!  If you have ever tried to
  64.  
  65. translate, say, a TRS-80 BASIC program
  66.  
  67. to the 64, you can really appreciate
  68.  
  69. the advantages of a standard!
  70.  
  71.  
  72.    Since Mr. Christensen is from Den-
  73.  
  74. mark, COMAL first took hold in Europe.
  75.  
  76. It is now one of the most popular lan-
  77.  
  78. guages in Europe.  Since Commodore has
  79.  
  80. LONG been the #1 microcomputer maker
  81.  
  82. in Europe, there are more implementa-
  83.  
  84. tions of COMAL for Commodore computers
  85.  
  86. than any other brand.  This has led to
  87.  
  88. the misunderstanding prevelant in this
  89.  
  90. country that the "COM" in COMAL stands
  91.  
  92. for "COMmodore", not "COMmon".  There
  93.  
  94. are two versions available for the 64:
  95.  
  96. COMAL 0.14, which has been available
  97.  
  98. on disk for some time at $19.95 (!!),
  99.  
  100. and COMAL 2.0, which exists only on
  101.  
  102. cartridge for the 64 and costs $99.95.
  103.  
  104. Special packaged editions with printed
  105.  
  106. documentation and sample programs on
  107.  
  108. disk are available for $29.95 (0.14)
  109.  
  110. and $128.90 (2.0).  LOADSTAR is nego-
  111.  
  112. tiating to become a COMAL distributor.
  113.  
  114.  
  115. If you can't wait, your local User's
  116.  
  117. Group should have 0.14 available for
  118.  
  119. you to try out.  You may also contact:
  120.  
  121.  
  122.   The COMAL User's Group, U.S.A., Ltd.
  123.   5501 Groveland Terrace
  124.   Madison, WI  53716-3251
  125.  
  126.   1(800)356-5324 ext. 1307
  127.   (for VISA or MC orders ONLY!)
  128.  
  129.   1(608)222-4432 (general information)
  130.  
  131.  
  132.    If there is sufficient interest,
  133.  
  134. we may set up a regular feature -- a
  135.  
  136. series of COMAL tutorials, reviews,
  137.  
  138. technical information and (of course)
  139.  
  140. COMAL programs.
  141.  
  142.  
  143.    This month, we have three programs
  144.  
  145. in COMAL 0.14:  C.POLYSPIRAL which
  146.  
  147. draws random LOGO-style pictures,
  148.  
  149. C.GLASS, which draws beautiful random
  150.  
  151. "stained-glass" patterns, and C.FFDB,
  152.  
  153. a Free-Form DataBase which has only 5
  154.  
  155. commands, but can store, search and
  156.  
  157. print many different kinds of data!
  158.  
  159. All of these programs were written by
  160.  
  161. yours truly.  (Note:  the "C." in the
  162.  
  163. above program names denotes a COMAL
  164.  
  165. 0.14 program that was SAVEd to disk
  166.  
  167. in its compiled (PRG) form.  Use the
  168.  
  169. COMAL "LOAD" or "CHAIN" command on
  170.  
  171. these.)
  172.  
  173.  
  174.         ** Important Note **
  175.  
  176. Be aware that you won't be able to run
  177.  
  178. any of the COMAL programs on this disk
  179.  
  180. without COMAL 0.14 or 2.0.
  181.  
  182.    Hopefully, each month there will
  183.  
  184. be more programs.
  185.  
  186.    Of course, we welcome program sub-
  187.  
  188. missons in COMAL.  In addition to the
  189.  
  190. normal program submission policy, we
  191.  
  192. ask that each COMAL program have the
  193.  
  194. prefix "C." in front of its name if it
  195.  
  196. is in COMAL 0.14 SAVE (PRG) format,
  197.  
  198. "L." if it is in COMAL 0.14 LIST (SRC)
  199.  
  200. format, "C2." if it is in COMAL 2.0
  201.  
  202. SAVE format, or "L2." if it is in
  203.  
  204. COMAL 2.0 LIST format.  For a program
  205.  
  206. that is Kernal compatible and there-
  207.  
  208. fore works under both versions, use
  209.  
  210. the LIST command to save it to disk,
  211.  
  212. with the prefix "LK.".  Remember:  if
  213.  
  214. you are using COMAL 2.0, use the
  215.  
  216. "keywords'in'upper'case(FALSE)" proce-
  217.  
  218. dure in the SYSTEM package BEFORE
  219.  
  220. issuing the LIST to disk command!
  221.  
  222.  
  223.    Your support of this column will
  224.  
  225. ensure its continuation.  If you like
  226.  
  227. it let us know.  Please send us your
  228.  
  229. COMAL programs, or if you'd like, and
  230.  
  231. you're able, send in an article.
  232.  
  233. ==========< end of article >==========
  234.